package com.android.sreader.utility;

public class MyDouble {

	double d;
	public MyDouble(){
		d = 0.;
	}
	public MyDouble(double _d){
		d = _d;
	}
	
	public static int toIntWithUpper(Double _d){	
		int intValue = _d.intValue();
		double doubleValue = _d.doubleValue();
		if(doubleValue - 1e-5 > 0) return intValue + 1;
		else return intValue;
	}
}
